﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Wicresoft.Task.Team.Entity
{
    public class ChangeListInfo
    {
        [Key]
        public int Id { get; set; }

        [Required]
        [StringLength(50)]
        public string FileName { get; set; }

        [Required]
        [StringLength(50)]
        [DefaultValue("Unchange")]
        public string ChangeType { get; set; }

        [Required]
        [StringLength(500)]
        public string LocalOrServerFolder { get; set; }

        [Required]
        [ForeignKey("ShelvesetId ")]
        public int ShelvesetId { get; set; }

        public virtual ShelveInfo shelveInfo { get; set; }
    }
}
